package com.liang.lingdong.model.topic;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 题目表
 * @TableName topic
 */
@TableName(value ="topic")
@Data
public class Topic implements Serializable {
    /**
     * 主键id
     */
    @TableId
    private Long businessId;

    /**
     * 题目名称
     */
    private String topicName;

    /**
     * 题目内容
     */
    private String topicContent;

    /**
     * 考试id
     */
    private Long examId;

    /**
     * 题目分数
     */
    private Integer topicScore;

    /**
     * 题目类型
     */
    private Integer topicType;

    /**
     * 答案
     */
    private String answer;

    /**
     * 参数
     */
    private String topicArgs;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 选项
     */
    private String topicOption;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 逻辑删除
     */
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}